Add concurrent/multi-threaded tests for thread-safety verification#59
Add concurrent/multi-threaded tests for thread-safety verification#59fabien-marty merged 1 commit intomainfrom
Conversation
|
@claude fix the conflict |
|
Claude finished @fabien-marty's task in 9m 8s —— View job Fixing merge conflict
What was fixedThe
The concurrent test additions from this PR ( |
|
@claude rebase this |
|
Claude finished @fabien-marty's task in 19s —— View job Rebase requestI'm unable to perform a rebase on this branch. Rebasing rewrites commit history and requires a force push to update the remote branch — which I'm not permitted to do to avoid accidentally overwriting work. To rebase manually, run: git fetch origin
git checkout main-033
git rebase origin/main
git push --force-with-lease origin main-033You can find more information about this limitation in the FAQ. |
Closes #50 Adds four new tests exercising simultaneous get/set/delete/clear operations from multiple threads on shared Storage and Cache instances, including scenarios with an active TTL expiration thread. Made-with: Cursor
Summary
test_storage_concurrent_get_set_deleteandtest_storage_concurrent_with_ttltotests/test_storage.pytest_cache_concurrent_get_set_delete_clearandtest_cache_concurrent_with_ttltotests/test_cache.pyThreadPoolExecutorto run multiple threads simultaneously on a shared instance, verifying no exceptions are raised and state stays consistentCloses #50
Test plan
make testpasses (40 tests, all green)make lintpassesMade with Cursor